export function SetLiftPoiOption(index) {
    let PoiObj = {
        markerUrl: '',
        title: '',
        labelUrl: '',
    }
    switch (index) {
        case 0:
            PoiObj.markerUrl = document.location.origin + '/static/Lift/T_Lift_Yellow.png'
            PoiObj.labelUrl = document.location.origin + '/static/Lift/lift-label-0.png'
            PoiObj.title = 'Flaw Detected'
            break;
        case 1:
            PoiObj.markerUrl = document.location.origin + '/static/Lift/T_Lift_Red.png'
            PoiObj.labelUrl = document.location.origin + '/static/Lift/lift-label-1.png'
            PoiObj.title = 'Passenger Trapped'
            break;
        case 2:
            PoiObj.markerUrl = document.location.origin + '/static/Lift/T_Lift_Orange.png'
            PoiObj.labelUrl = document.location.origin + '/static/Lift/lift-label-2.png'
            PoiObj.title = 'Under Maintenance'
            break;
        case 3:
            PoiObj.markerUrl = document.location.origin + '/static/Lift/T_Lift_Green.png'
            PoiObj.labelUrl = document.location.origin + '/static/Lift/lift-label-3.png'
            PoiObj.title = 'Working'
            break;
    }
    return PoiObj
}
export function SetGreenMarkPoiOption(index) {
    let PoiObj = {
        markerUrl: '',
        labelUrl: '',
    }
    switch (index) {
        case 'Platinum':
            PoiObj.markerUrl = document.location.origin + '/static/GreenBuild/Platinum_Item.png'
            PoiObj.labelUrl = document.location.origin + '/static/Lift/lift-label-0.png'
            break;
        case 'GOLD plus':
            PoiObj.markerUrl = document.location.origin + '/static/GreenBuild/GoldPlus_Item.png'
            PoiObj.labelUrl = document.location.origin + '/static/Lift/lift-label-1.png'
            break;
        case 'Gold':
            PoiObj.markerUrl = document.location.origin + '/static/GreenBuild/Gold_Item.png'
            PoiObj.labelUrl = document.location.origin + '/static/Lift/lift-label-2.png'
            break;
        case 'Certified':
            PoiObj.markerUrl = document.location.origin + '/static/GreenBuild/Certified_Item.png'
            PoiObj.labelUrl = document.location.origin + '/static/Lift/lift-label-3.png'
            break;
    }
    return PoiObj
}